package hb.software.score.entity;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import domain.BaseEntity;
import hb.software.score.category.ScoreCategory;

@Entity
@Table(name = "T_score")
public class Score extends BaseEntity<Long> {

	@ManyToOne
	@JoinColumn(name = "Category_ID")
	ScoreCategory scoreCategory;
	public ScoreCategory getScoreCategory() {
		return scoreCategory;
	}

	public void setScoreCategory(ScoreCategory scoreCategory) {
		this.scoreCategory = scoreCategory;
	}

	private static final long serialVersionUID = 4475744750767977852L;

	@Column
	String studentid;

	@Column
	String homescore;
	@Column
	String coursename;

	@Column
	String classscore;
	@Column
	String testscore;

	@Column
	String finalscore;
	@Column
	String studentname;

	@Column
	String courseid;


	public String getStudentid(){
		return studentid;
	}
	public void setStudentid(String studentid){
		this.studentid=studentid;
	}
	public String gethomeScore(){
		return homescore;
	}
	public void sethomeScore(String homescore){
		this.homescore=homescore;
	}
	public String getclassScore(){
		return classscore;
	}
	public void setclassScore(String classscore){
		this.classscore=classscore;
	}
	public String gettestScore(){
		return testscore;
	}
	public void settestScore(String testscore){
		this.testscore=testscore;
	}
	public String getfinalScore(){
		return finalscore;
	}
	public void setfinalScore(String finalscore){
		this.finalscore=finalscore;
	}
	public String getStudentname() {
		return studentname;
	}
	public void setStudentname(String studentname) {
		this.studentname = studentname;
	}
	public String getCourseid() {
		return courseid;
	}
	public void setCourseid(String courseid) {
		this.courseid = courseid;
	}
	public String getCoursename() {
		return coursename;
	}
	public void setCoursename(String coursename) {
		this.coursename = coursename;
	}



}
